Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish stall state of the robot #42

Open
wants to merge 1 commit into
base: lunar-devel
Choose a base branch
from

Conversation

piliboss
Copy link

We are usually encountering a problem while simulating our robots with stage: we are not able to detect whether a robot has collided with an obstacle (just visually but not programmatically).

In your stageros.cpp we also found a todo note for adding a separate publisher for that purpose.

With this pull request, we would like to add such a publisher to stage_ros.
Currently, a Int8 message is sent with the same rate like the odometry message and it indicates whether the robot is stalled or not. We may change the strategy to just send messages as soon as the robot is stalled actually.
What do you think and would it be possible to push this feature to kinetic?

Thank you for your consideration.

@wjwwood
Copy link
Member

wjwwood commented Dec 22, 2016

Thanks @piliboss, we'll have a look as soon as we're able.

/cc @gerkey

@hamdulmoqeet
Copy link

I am working with stage ros and I also need to detect collisions with the obstacles. This feature is exactly what solves my problem. It would be great if it is merged within stage.

@wjwwood wjwwood closed this May 1, 2017
@wjwwood wjwwood changed the base branch from master to lunar-devel May 1, 2017 03:22
@wjwwood
Copy link
Member

wjwwood commented May 1, 2017

Sorry, I accidentally closed this when changing the branch layout of the repository. I've reopened it and updated the target base to be lunar-devel which is the new default branch. You can edit again to point at indigo-devel, which is what is used to release for ROS Indigo and Kinetic, if you like.

@wjwwood wjwwood reopened this May 1, 2017
@tdenewiler
Copy link

This PR works for me and would be a nice addition. It would help enable automated tests to use Stage for regression testing.

@tutorgaming
Copy link

What do you think about changing the Int8 into "std_msgs::Bool"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants